package com.henu.engineer.dao.mapper.teacher

import com.henu.engineer.dao.entity.teacher.CourseGroup
import org.apache.ibatis.annotations.Mapper
import org.springframework.stereotype.Repository
import java.time.LocalDate
import java.time.LocalDateTime
import java.util.*

@Mapper
@Repository
interface CourseGroupXmlMapper {
    /**
     * 根据一组课程组id，返回对应的一组课程组详细信息
     */
    fun selectByCourseGroupIds(courseGroupIds: List<String>): List<CourseGroup>


    /**
     * 添加一个课程组
     */
    fun courseGroupCreate(name: String,courseId:String,teacherId:Int,createTime: LocalDate):Boolean
}